<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.typehandlers.codesink.NullCodeSink</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.typehandlers-module.html">Package&nbsp;typehandlers</a> ::
        <a href="pybindgen.typehandlers.codesink-module.html">Module&nbsp;codesink</a> ::
        Class&nbsp;NullCodeSink
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.typehandlers.codesink.NullCodeSink-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class NullCodeSink</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_99" name="uml_class_diagram_for_pybindge_99">
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#__init__" title="Constructor" alt="" coords="20,129,132,148"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" title="Write one or more lines of code" alt="" coords="20,148,132,167"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#flush_to" title="Flushes code to another code sink sink &#45;&#45; another CodeSink instance" alt="" coords="20,167,132,185"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#flush" title="Flushes the code and returns the formatted output as a return value string" alt="" coords="20,185,132,204"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html" title="A code sink that discards all content." alt="" coords="19,104,133,205"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#indent" title="Add a certain ammount of indentation to all lines written from now on and &#160;until unindent() is called" alt="" coords="17,36,135,55"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#unindent" title="Revert indentation level to the value before last indent() call" alt="" coords="17,55,135,73"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html" title="Abstract base class for code sinks" alt="" coords="16,11,136,75"/>
</map>
  <img src="uml_class_diagram_for_pybindge_99.gif" alt='' usemap="#uml_class_diagram_for_pybindge_99" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>A code sink that discards all content.  Useful to 'test' if code 
  generation would work without actually generating anything.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Constructor</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___71-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___71-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___71" name="call_graph_for___init___71">
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#_generate_forward_declarations" title="cppclass.CppHelperClass._generate_forward_declarations()" alt="" coords="17,5,577,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#__init__" title="__init__()" alt="" coords="639,117,743,149"/>
<area shape="rect" href="javascript:void(0);" title="module._MonolithicSinkManager.__init__()" alt="" coords="95,61,500,93"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate_class_declaration" title="overloading.OverloadedWrapper.generate_class_declaration()" alt="" coords="5,117,589,149"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate_declaration" title="overloading.OverloadedWrapper.generate_declaration()" alt="" coords="32,173,563,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#get_py_method_def_flags" title="base.ForwardWrapperBase.get_py_method_def_flags()" alt="" coords="37,229,557,261"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#__init__" title="CodeSink.__init__()" alt="" coords="792,117,989,149"/>
</map>
  <img src="call_graph_for___init___71.gif" alt='' usemap="#call_graph_for___init___71" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" class="summary-sig-name">writeln</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">line</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span><br />
      Write one or more lines of code</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink.writeln">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_writeln_4-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_writeln_4-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_writeln_4" name="call_graph_for_writeln_4">
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#generate" title="function.CustomFunctionWrapper.generate()" alt="" coords="29,5,461,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" title="writeln()" alt="" coords="533,173,635,205"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate" title="overloading.OverloadedWrapper.generate()" alt="" coords="36,61,455,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="base.ForwardWrapperBase.generate_body()" alt="" coords="33,117,457,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_close_wrapper" title="base.ForwardWrapperBase.write_close_wrapper()" alt="" coords="5,173,485,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_open_wrapper" title="base.ForwardWrapperBase.write_open_wrapper()" alt="" coords="5,229,485,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="base.ReverseWrapperBase.generate()" alt="" coords="61,285,429,317"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#flush_to" title="MemoryCodeSink.flush_to()" alt="" coords="108,341,383,373"/>
</map>
  <img src="call_graph_for_writeln_4.gif" alt='' usemap="#call_graph_for_writeln_4" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flush_to"></a><span class="summary-sig-name">flush_to</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">sink</span>)</span><br />
      Flushes code to another code sink sink -- another CodeSink instance</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink.flush_to">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flush"></a><span class="summary-sig-name">flush</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Flushes the code and returns the formatted output as a return value 
      string</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink.flush">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.codesink.CodeSink-class.html">CodeSink</a></code></b>:
      <code><a href="pybindgen.typehandlers.codesink.CodeSink-class.html#indent">indent</a></code>,
      <code><a href="pybindgen.typehandlers.codesink.CodeSink-class.html#unindent">unindent</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___71-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___71-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___71" name="call_graph_for___init___71">
<area shape="rect" href="pybindgen.cppclass.CppHelperClass-class.html#_generate_forward_declarations" title="cppclass.CppHelperClass._generate_forward_declarations()" alt="" coords="17,5,577,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#__init__" title="__init__()" alt="" coords="639,117,743,149"/>
<area shape="rect" href="javascript:void(0);" title="module._MonolithicSinkManager.__init__()" alt="" coords="95,61,500,93"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate_class_declaration" title="overloading.OverloadedWrapper.generate_class_declaration()" alt="" coords="5,117,589,149"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate_declaration" title="overloading.OverloadedWrapper.generate_declaration()" alt="" coords="32,173,563,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#get_py_method_def_flags" title="base.ForwardWrapperBase.get_py_method_def_flags()" alt="" coords="37,229,557,261"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.CodeSink-class.html#__init__" title="CodeSink.__init__()" alt="" coords="792,117,989,149"/>
</map>
  <img src="call_graph_for___init___71.gif" alt='' usemap="#call_graph_for___init___71" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Constructor</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="writeln"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">writeln</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">line</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.codesink-pysrc.html#NullCodeSink.writeln">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_writeln_4-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_writeln_4-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_writeln_4" name="call_graph_for_writeln_4">
<area shape="rect" href="pybindgen.function.CustomFunctionWrapper-class.html#generate" title="function.CustomFunctionWrapper.generate()" alt="" coords="29,5,461,37"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.NullCodeSink-class.html#writeln" title="writeln()" alt="" coords="533,173,635,205"/>
<area shape="rect" href="pybindgen.overloading.OverloadedWrapper-class.html#generate" title="overloading.OverloadedWrapper.generate()" alt="" coords="36,61,455,93"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="base.ForwardWrapperBase.generate_body()" alt="" coords="33,117,457,149"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_close_wrapper" title="base.ForwardWrapperBase.write_close_wrapper()" alt="" coords="5,173,485,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#write_open_wrapper" title="base.ForwardWrapperBase.write_open_wrapper()" alt="" coords="5,229,485,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="base.ReverseWrapperBase.generate()" alt="" coords="61,285,429,317"/>
<area shape="rect" href="pybindgen.typehandlers.codesink.MemoryCodeSink-class.html#flush_to" title="MemoryCodeSink.flush_to()" alt="" coords="108,341,383,373"/>
</map>
  <img src="call_graph_for_writeln_4.gif" alt='' usemap="#call_graph_for_writeln_4" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Write one or more lines of code</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.codesink.CodeSink-class.html#writeln">CodeSink.writeln</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:34 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
